        <style type="text/css">
        .action
        {
            opacity: 0.8;
            border-radius: 5px;
            
        }
        .action:hover
        {
            opacity: 1;
        }
    </style>

<table border="0" style="border: 1px solid #cccccc; background: white; margin: 7px; margin-bottom: 15px; ; box-shadow: 4px 4px 4px #666;">
    <tr>
        <td width="230">
        <div style="border: 1px solid #99c7eb; width: 130px; height: 100px;">
            <a href="trangchu.php?act=4&id=<?php echo $row["MaSP"]; ?>">
            <img src="img_us/<?php echo $row["HinhURL"]; ?>" width="130" height="100" alt="Chưa có hình" style="text-align: center;"/>
            </a>
        </div>
    	</td>
        <td>
        <table border="0" style="width: 540px; font-size: 12px; ">
        <tr >
            <td style="height: 40px;">
            <b class="pname" style="color: #0048ff; font-size: 14px; text-shadow:1px 1px #b3b3b3;">
                <?php echo $row["TenSP"]; ?>
            </b>
            </td>
            <td style="width: 160px;">
            <p class="pUser" style="color: black;">
            	<b>Người Đăng: </b> <?php echo $row["TenDangNhap"]; ?>
            </p> 
            </td>
         </tr>
         <tr> 
            <td style="height: 30px;">
            <p class="pprice" style="color: black;">
                <b>Giá: </b><font color="red"> <?php echo number_format($row["GiaSP"]); ?>đ </font>
            </p>
            </td>
            <td>
            <p class="pday" style="color: black;">
            	<b>Ngày Đăng: </b> <?php echo $row["NgayDang"]; ?>
            </p>
            </td>
         </tr>
         <tr>
            <td>&nbsp;</td>
            <td>
            <div class="action" style="border-radius: 5px;">
                <a href="trangchu.php?act=4&id=<?php echo $row["MaSP"]; ?>"><img src="images/chitiet.jpg" width="70" height="20" /></a>
            </div>
            </td>
         </tr>
         </table>
        </td>
    </tr>
</table> 

